/// <summary> /// user status /// </summary> /// <param name="UserId"></param> /// <param name="Active"></param> /// <returns></returns> public void UserStatus(int UserId, int Active) { try { _repo = new UserDetailRepo(); _repo.UserStatus(UserId, Active); } catch (Exception ex) { throw ex; } }
public IEnumerable <UserDetail> GetAllUsers() { try { UserDetail objOutPut = new UserDetail(); _repo = new UserDetailRepo(); return(_repo.GetAllUsers()); } catch (Exception ex) { throw ex; } }
public Inside(SignInManager <ApplicationUser> signInManager, IUserDetailRepo userRepo, UserManager <ApplicationUser> userManager) { _signInManager = signInManager; _userRepo = userRepo; _userManager = userManager; }
public UserDetailService(IUserDetailRepo userDetailRepo) : base(userDetailRepo) { this.userDetailRepo = userDetailRepo; }
public UserDetailController(IUserDetailRepo repository, IMapper mapper) { _repository = repository; _mapper = mapper; }