Exemplo n.º 1
0
        public async Task <IActionResult> DeleteEvent(int id)
        {
            Result result = await _eventGateway.Delete(id);

            return(this.CreateResult(result));
        }
Exemplo n.º 2
0
 public bool RemoveAnimalEvent(int id)
 {
     return(eventGateway.Delete(id) > 0);
 }