public async Task <ActionResult <IEnumerable <AuthorMODEL> > > GetAuthor() { var resultProcess = await authorBLL.GetAllAsync(); if (!resultProcess.IsApproved) { return(BadRequest(resultProcess.ShortMessage)); } if (resultProcess.ObjectResult.Count == 0) { return(NoContent()); } return((List <AuthorMODEL>)resultProcess.ObjectResult); }