예제 #1
0
 public int DeleteCenterTrans(CenterTrans center)
 {
     return(_centerTransRepo.DeleteCenterTrans(center));
 }
예제 #2
0
 public int UpdateCenterTrans(CenterTrans center)
 {
     return(_centerTransRepo.UpdateCenterTrans(center));
 }
예제 #3
0
 //translation
 public int CreateCenterTrans(CenterTrans centerTrans)
 {
     return(_centerTransRepo.CreateCenterTrans(centerTrans));
 }
예제 #4
0
 /// <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));
 }
예제 #5
0
 /// <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));
 }
예제 #6
0
 /// <summary>
 /// Deletes the center trans.
 /// </summary>
 /// <param name="center">The center.</param>
 /// <returns></returns>
 public int DeleteCenterTrans(CenterTrans center) => DeleteRecord(center);
예제 #7
0
 /// <summary>
 /// Inserts the or update center trans.
 /// </summary>
 /// <param name="centerTrans">The center trans.</param>
 /// <returns></returns>
 public int InsertOrUpdateCenterTrans(CenterTrans centerTrans) => InsertOrUpdate(centerTrans);