Base solution for your next web application

Activities of "rishabh7m"

Question

Is it possible to get current unit of work in DbContext? Right now i'm using like this:

_unitOfWorkManager.Current.Completed += (sender, args) => {};

I want to get Id of some entites that are created.

Question

How to find user by email in Web.Api. I have tried this way: var user = await _userManager.FindByEmailAsync(registerModel.Email); It is always giving me null. Note:- Multi tenancy is on.

Showing 1 to 2 of 2 entries