Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public async Task <IHttpActionResult> GetEmails(int type, int pageNumber) { var userId = User.Identity.GetUserId <int>(); if (!ModelState.IsValid) { return(BadRequest(ModelState)); } var taskResult = await repository.GeEmailList(type, pageNumber); return(Ok(taskResult)); }