public List <ApiDocumentModel> GetAll() { //List<ApiDocumentModel> docList = new List<ApiDocumentModel> //{ // new ApiDocumentModel // { // ID = 1, // Document = new byte[100], // Authuorization = true, // InsuranceID = 1002 // }, // new ApiDocumentModel // { // ID = 2, // Document = new byte[100], // Authuorization = true, // InsuranceID = 1002 // }, //}; //return docList; return(_documentManager.GetAll <ApiDocumentModel>()); }
public async Task <ActionResult <ApiResult <List <Document> > > > GetAll() { return(ReturnResponse(() => _documentManager.GetAll())); }