public int DeleteCenterTrans(CenterTrans center) { return(_centerTransRepo.DeleteCenterTrans(center)); }
public int UpdateCenterTrans(CenterTrans center) { return(_centerTransRepo.UpdateCenterTrans(center)); }
//translation public int CreateCenterTrans(CenterTrans centerTrans) { return(_centerTransRepo.CreateCenterTrans(centerTrans)); }
/// <summary> /// Deletes the center trans. /// </summary> /// <param name="centerTrans">The center trans.</param> /// <returns></returns> public int DeleteCenterTrans(CenterTrans centerTrans) { return(_repositoryFactory.GetCenterTransRepository.DeleteCenterTrans(centerTrans)); }
/// <summary> /// Inserts the or update center trans. /// </summary> /// <param name="centerTrans">The center trans.</param> /// <returns></returns> public int InsertOrUpdateCenterTrans(CenterTrans centerTrans) { return(_repositoryFactory.GetCenterTransRepository .InsertOrUpdateCenterTrans(centerTrans)); }
/// <summary> /// Deletes the center trans. /// </summary> /// <param name="center">The center.</param> /// <returns></returns> public int DeleteCenterTrans(CenterTrans center) => DeleteRecord(center);
/// <summary> /// Inserts the or update center trans. /// </summary> /// <param name="centerTrans">The center trans.</param> /// <returns></returns> public int InsertOrUpdateCenterTrans(CenterTrans centerTrans) => InsertOrUpdate(centerTrans);