public bool TransferProspect(App_ProspectTransfer prospectTransfer) { var parmsCollection = new ParmsCollection(); var dataSet = this.clientDbContext.ExecuteQueryOrStoredProcedure_ToDataSet("[MobileApp].[addApp_ProspectTransfer]", parmsCollection .AddParm("@ProspectID", SqlDbType.Int, prospectTransfer.ProspectID) .AddParm("@AgentId", SqlDbType.VarChar, prospectTransfer.AgentId) .AddParm("@Remarks", SqlDbType.NVarChar, prospectTransfer.Remarks) .AddParm("@CreateUserID", SqlDbType.Int, userContext.LoggedInUserId) .AddParm("@CreateDate", SqlDbType.DateTime, DateTime.Now) .AddParm("@ModifyUserID", SqlDbType.Int, userContext.LoggedInUserId) .AddParm("@ModifyDate", SqlDbType.DateTime, DateTime.Now) ); return(true); }
public IActionResult TransferProspect([FromBody] App_ProspectTransfer prospectTransfer) { return(Ok(propertyBusinessAccess.TransferProspect(prospectTransfer))); }
public bool TransferProspect(App_ProspectTransfer prospectTransfer) { return(this.propertyDataAccess.TransferProspect(prospectTransfer)); }