Exemple #1
0
        public bool DeleteAward()
        {
            Console.WriteLine("Удаление награды..." + Environment.NewLine);
            Guid id = SelectedAward();

            return(_bll.DeleteAward(id));
        }
Exemple #2
0
        public bool DeleteAward()
        {
            Console.WriteLine("Удаление награды");
            Guid id = SelectedAward();

            return(_bll.DeleteAward(id));
        }
Exemple #3
0
 public IHttpActionResult DeleteAward(int awardId)
 {
     if (_bll.DeleteAward(awardId))
     {
         return(Ok());
     }
     return(InternalServerError());
 }