public ErrorCodes Update(Entities.ThirdPartyLog obj) { ErrorCodes errorCodes = ErrorCodes.Success; try { obj.updated_date = DateTime.Now; var result = _thirdPartyLogDal.Update(obj); if (result <= 0) { errorCodes = ErrorCodes.BusinessError; } } catch (Exception ex) { Logger.WriteLog(Logger.LogType.Error, ex.ToString()); errorCodes = ErrorCodes.Exception; } return(errorCodes); }
public int Insert(Entities.ThirdPartyLog obj) { throw new NotImplementedException(); }