public ActionResult InsertEvent(int userId, string description, int recordType)
        {
            PostUserCalenderModel m = new PostUserCalenderModel();

            m.Description = description;
            m.RecordType  = (RecordType)recordType;
            return(Ok(_calenderService.CreateEvent(m, userId)));
        }
Ejemplo n.º 2
0
 public JsonResult InsertEvent(PostUserCalenderModel model)
 {
     return(Json(_calenderService.CreateEvent(model)));
 }