public IHttpActionResult GetLLFCExperienceAccountRelationship(AccountDetails Param) { JSON JSONReturn = new JSON(); LLFCExperienceAccountRelationship lLFCExperienceAccountRelationship = new LLFCExperienceAccountRelationship(); lLFCExperienceAccountRelationship = DatabaseAccess.GetLLFCExperienceAccountRelationship(Param); JSONReturn.Data = lLFCExperienceAccountRelationship; JSONReturn.Message = "Success"; return(Json(JSONReturn)); }
public IHttpActionResult AddNewLLFCExperienceAccountRelationship(LLFCExperienceAccountRelationship Param) { JSON JSONReturn = new JSON(); DatabaseAccess.AddNewLLFCExperienceAccountRelationship(Param); JSON returnJSON = new JSON(); try { //JSONReturn.Data = clientDetails; //JSONReturn.Message = connectionString; } catch (Exception ex) { returnJSON.Message = ex.Message; return(Json(returnJSON)); } return(Json(JSONReturn)); }
public IHttpActionResult UpdateLLFCExperienceAccountRelationship(LLFCExperienceAccountRelationship Param) { JSON JSONReturn = new JSON(); LLFCExperienceAccountRelationship lLFCExperienceAccountRelationship = new LLFCExperienceAccountRelationship(); DatabaseAccess.UpdateLLFCExperienceAccountRelationship(Param); JSON returnJSON = new JSON(); try { JSONReturn.Data = lLFCExperienceAccountRelationship; JSONReturn.Message = connectionString; } catch (Exception ex) { returnJSON.Message = ex.Message; return(Json(returnJSON)); } return(Json(JSONReturn)); }