public TransactionOutput GetTransactionByDate(Model.Authenticate authenticate, DateTime date1, DateTime date2) { TransactionOutput result = new TransactionOutput(); try { WebServiceAuthenticate.Instance.Authenticate(authenticate); // Validation.Validate(); } catch (BaseException ex) { result.Id = ex.ErrorCode; } catch (Exception ex) { result.Id = ex.HResult; } finally { //context.Dispose(); } return(result); }
public MemberOutput GetMemberCountNumber(Model.Authenticate authenticate, int id, int count) { MemberOutput result = new MemberOutput(); try { WebServiceAuthenticate.Instance.Authenticate(authenticate); // Validation.Validate(); } catch (BaseException ex) { result.Id = ex.ErrorCode; } catch (Exception ex) { result.Id = ex.HResult; } finally { //context.Dispose(); } return(result); }