public async Task <ActionResult> GetAllLists() { var result = await _service.GetAllLists(); if (!result.Succeeded) { return(NotFound("Oops, there is no available lists!")); } return(Ok(result)); }
public async Task <ActionResult> GetAllLists() { var result = await _service.GetAllLists(); if (!result.Succeeded) { return(NotFound("Oops, there is no available lists!")); } return(Ok(result)); }