예제 #1
0
 public IActionResult DeleteUser([FromBody] RequestedData <UserDTO> requestedData)
 {
     requestedData.EntityList = userDSL.Delete(requestedData.Entity, requestedData.GridSettings);
     requestedData.Alerts.Add(new Alert {
         Title = "تم بنجاح", Type = AlertTypeEnum.Success, Message = "تم حذف المستخدم بنجاح"
     });
     return(Ok(requestedData));
 }