Ejemplo n.º 1
0
 public int DeleteCompetition(Competition competition)
 {
     try
     {
         return(_service.DeleteCompetition(competition));
     }
     catch (Exception e)
     {
         throw e;
     }
 }
        public async Task <ActionResult> DeleteCompetition(Guid competitionId)
        {
            await _competitionService.DeleteCompetition(competitionId);

            return(NoContent());
        }