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)));
        }
 public JsonResult InsertEvent(PostUserCalenderModel model)
 {
     return(Json(_calenderService.CreateEvent(model)));
 }