public JsonResult ChangeCode(string branch, string code, string taskid) { try { var _status = _taskCampaignBusiness._GeneretorCode(Guid.Parse(branch), code, Guid.Parse(ApplicationUserCurrent.UserId), Guid.Parse(taskid)); return(Json(_status)); } catch (Exception e) { return(Json('0')); } }