Ejemplo n.º 1
0
        public async Task <IActionResult> RetrieveAllStaffs()
        {
            try
            {
                var staff = await _staffAppService.RetrieveAllStaffs();

                return(Ok(staff));
            }
            catch (Exception ex)
            {
                return(BadRequest(ex.Message));
            }
        }