diff --git a/Controllers/GainLossController.cs b/Controllers/GainLossController.cs index 08a2362..49b53f2 100644 --- a/Controllers/GainLossController.cs +++ b/Controllers/GainLossController.cs @@ -17,7 +17,7 @@ namespace MarketDataServer.Controllers public class GainLossController : ApiController { private ActiveGainLossGenerator gainLossGenerator=new ActiveGainLossGenerator(); - public IEnumerable GetGainLoss(String token, DateTime selectedDate) + public IEnumerable GetGainLossByDate(String token, DateTime selectedDate) { MDTrace.WriteLine(LogLevel.DEBUG,String.Format("[{0:G}][GainLossController::GetGainLoss](String token, DateTime selectedDate)", DateTime.Now)); if (!Authorizations.GetInstance().IsAuthorized(token)) return null; @@ -50,7 +50,7 @@ namespace MarketDataServer.Controllers // **** return gainLossSummaryItems; } - public IEnumerable GetGainLoss(String token, DateTime selectedDate,String account) + public IEnumerable GetGainLossByDateAndAccount(String token, DateTime selectedDate,String account) { MDTrace.WriteLine(LogLevel.DEBUG,String.Format("[{0:G}][GainLossController::GetGainLoss](String token, DateTime selectedDate,String account)", DateTime.Now)); LocalPriceCache.GetInstance().Refresh(); @@ -85,7 +85,7 @@ namespace MarketDataServer.Controllers return gainLossSummaryItems; } // ********* - public IEnumerable GetGainLossWithDetail(String token, DateTime selectedDate) + public IEnumerable GetGainLossWithDetailByDate(String token, DateTime selectedDate) { MDTrace.WriteLine(LogLevel.DEBUG,String.Format("[{0:G}][GainLossController::GetGainLossWithDetail](String token, DateTime selectedDate)", DateTime.Now)); if (!Authorizations.GetInstance().IsAuthorized(token)) return null; @@ -169,7 +169,7 @@ namespace MarketDataServer.Controllers // **** return gainLossSummaryItemDetailCollection; } - public IEnumerable GetGainLossWithDetail(String token, DateTime selectedDate, String account) + public IEnumerable GetGainLossWithDetailByDateAndAccount(String token, DateTime selectedDate, String account) { MDTrace.WriteLine(LogLevel.DEBUG,String.Format("[{0:G}][GainLossController::GetGainLossWithDetail](String token, DateTime selectedDate,String account)", DateTime.Now)); if (!Authorizations.GetInstance().IsAuthorized(token)) return null;