Example #1
0
 public IActionResult AddUser([FromBody] RequestedData <UserDTO> requestedData)
 {
     userDSL.Add(requestedData.Entity, requestedData.UserId);
     requestedData.Alerts.Add(new Alert {
         Title = "تم بنجاح", Type = AlertTypeEnum.Success, Message = "تم اضافة المستخدم بنجاح"
     });
     return(Ok(requestedData));
 }