Exemple #1
0
 public IHttpActionResult GetLastOpportunityDate(int opportunityId)
 {
     return
         (Authorized(
              token =>
              Ok(new Dictionary <string, long>
     {
         { "date", _opportunityService.GetLastOpportunityDate(opportunityId, token).ToUnixTime() }
     })));
 }
Exemple #2
0
 public DateTime GetLastServingDate(int opportunityId, string token)
 {
     logger.Debug(string.Format("GetLastOpportunityDate({0}) ", opportunityId));
     return(_opportunityService.GetLastOpportunityDate(opportunityId, token));
 }