Exemplo n.º 1
0
 public Result <IEnumerable <Class> > GetAll()
 {
     return(Result.Success(Status.Ok, _classGateway.GetAll()));
 }
Exemplo n.º 2
0
        public async Task <IActionResult> GetClassList()
        {
            IEnumerable <ClassData> result = await _classGateway.GetAll();

            return(Ok(result));
        }
        public async Task <IActionResult> GetClassList()
        {
            var result = await _classGateway.GetAll();

            return(Ok(result));
        }