public override Result Delete(EmergencyHistoryModel model) { try { EmergencyHistory emergencyHistory = _mapper.Map <EmergencyHistory>(model); _emergencyHistoryDAL.Delete(emergencyHistory); return(_emergencyHistoryDAL.Save()); } catch (Exception error) { return(Result.BuildError("Erro ao deletar o registro do histórico de ocorrência.", error)); } }