public bool DeleteAward() { Console.WriteLine("Удаление награды..." + Environment.NewLine); Guid id = SelectedAward(); return(_bll.DeleteAward(id)); }
public bool DeleteAward() { Console.WriteLine("Удаление награды"); Guid id = SelectedAward(); return(_bll.DeleteAward(id)); }
public IHttpActionResult DeleteAward(int awardId) { if (_bll.DeleteAward(awardId)) { return(Ok()); } return(InternalServerError()); }