public async Task <IActionResult> ChangeStatus(string name) { var result = await repo.ChangeStatus(name); if (result) { return(Ok()); } return(BadRequest()); }
public async Task <IActionResult> ChangeStatus(string name) { var result = await repo.ChangeStatus(name); if (result) { return(Ok()); } return(BadRequest()); }