One of the things you can do is search the code to see how basic things are done in the system :)
Depending on what version you are using
v4.4 - v4.5
            var customer = await _workContext.GetCurrentCustomerAsync();
            var store = await _storeContext.GetCurrentStoreAsync();