コード例 #1
0
 public object Delete(DeleteEspecialidad request)
 {
     try
     {
         Db.DeleteById <Especialidad>(request.Id);
         return(true);
     }
     catch (Exception)
     {
         return(false);
     }
 }
コード例 #2
0
 public override Link GetMyDeleteLink(long ID)
 {
     return(DeleteEspecialidad.CreateLink(new { id = ID }));
 }