public ActionResult SaveZombie(IncidentActionZombie zombie) { if (zombie.Id > 0) { return(zombie.Update()); } return(zombie.Insert()); }
public ActionResult DeleteZombie(long zombieId, long auditoryId, int companyId) { var zombie = new IncidentActionZombie { Id = zombieId, AuditoryId = auditoryId, CompanyId = companyId }; return(zombie.Delete()); }