public async Task <IActionResult> GetAll() { try { var memo = _bll.GetAll(); return(Ok(memo)); } catch { return(StatusCode(500)); } }
public async Task <IActionResult> GetAll() { try { var memo = _bll.GetAll(); return(Ok(memo)); } catch { return(BadRequest()); } }