public ActionResult savetask() { string groupid = Session["group"].ToString(); Domain.Socioboard.Domain.User objUser = (Domain.Socioboard.Domain.User)Session["User"]; string descritption = Request.QueryString["description"]; string AssignDate = Request.QueryString["now"]; string comment = Request.QueryString["comment"]; Guid idtoassign = Guid.Empty; try { if (!string.IsNullOrEmpty(Request.QueryString["memberid"])) { idtoassign = Guid.Parse(Request.QueryString["memberid"]); } } catch (Exception ex) { } Domain.Socioboard.Domain.Tasks objTasks = new Domain.Socioboard.Domain.Tasks(); Api.Tasks.Tasks objApiTasks = new Api.Tasks.Tasks(); objApiTasks.AddNewTaskWithGroup(descritption, objUser.Id.ToString(), objTasks, idtoassign.ToString(), comment, AssignDate, groupid); return(Content("")); }
public void CreateNewTask(string description, string userid, Domain.Socioboard.Domain.Tasks task, string assigntoId, string comment) { this.Invoke("CreateNewTask", new object[] { description, userid, task, assigntoId, comment }); }
public void addTask(string description, string userid, Domain.Socioboard.Domain.Tasks task, string assigntoId, string comment, string AssignDate) { this.Invoke("addTask", new object[] { description, userid, task, assigntoId, comment, AssignDate }); }
public void AddNewTaskWithGroup(string description, string userid, Domain.Socioboard.Domain.Tasks task, string assigntoId, string comment, string AssignDate, string groupid) { this.Invoke("AddNewTaskWithGroup", new object[] { description, userid, task, assigntoId, comment, AssignDate, groupid }); }
/// <remarks/> public void CreateNewTaskAsync(string description, string userid, Domain.Socioboard.Domain.Tasks task, string assigntoId, string comment, object userState) { if ((this.CreateNewTaskOperationCompleted == null)) { this.CreateNewTaskOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateNewTaskOperationCompleted); } this.InvokeAsync("CreateNewTask", new object[] { description, userid, task, assigntoId, comment }, this.CreateNewTaskOperationCompleted, userState); }
/// <remarks/> public void AddNewTaskWithGroupAsync(string description, string userid, Domain.Socioboard.Domain.Tasks task, string assigntoId, string comment, string AssignDate, string groupid, object userState) { if ((this.AddNewTaskWithGroupOperationCompleted == null)) { this.AddNewTaskWithGroupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddNewTaskWithGroupOperationCompleted); } this.InvokeAsync("AddNewTaskWithGroup", new object[] { description, userid, task, assigntoId, comment, AssignDate, groupid }, this.AddNewTaskWithGroupOperationCompleted, userState); }
/// <remarks/> public void AddNewTaskWithGroupAsync(string description, string userid, Domain.Socioboard.Domain.Tasks task, string assigntoId, string comment, string AssignDate, string groupid) { this.AddNewTaskWithGroupAsync(description, userid, task, assigntoId, comment, AssignDate, groupid, null); }
/// <remarks/> public void addTaskAsync(string description, string userid, Domain.Socioboard.Domain.Tasks task, string assigntoId, string comment, string AssignDate) { this.addTaskAsync(description, userid, task, assigntoId, comment, AssignDate, null); }
/// <remarks/> public void CreateNewTaskAsync(string description, string userid, Domain.Socioboard.Domain.Tasks task, string assigntoId, string comment) { this.CreateNewTaskAsync(description, userid, task, assigntoId, comment, null); }