Commit 393dce7

mokhan <mokhan@ce5e1baf-6525-42e4-a1b2-857ea38da20a>
2009-04-23 21:12:31
started applying wcf attributes to service layer and dtos
git-svn-id: https://svn.xp-dev.com/svn/mokhan-mo.money@189 ce5e1baf-6525-42e4-a1b2-857ea38da20a
1 parent 73eca74
trunk/product/MoMoney.DTO/AddNewBillDTO.cs
@@ -1,11 +1,18 @@
 using System;
+using System.Runtime.Serialization;
 
 namespace MoMoney.DTO
 {
+    [DataContract]
     public class AddNewBillDTO
     {
+        [DataMember]
         public Guid company_id { get; set; }
+
+        [DataMember]
         public DateTime due_date { get; set; }
+
+        [DataMember]
         public double total { get; set; }
     }
 }
\ No newline at end of file
trunk/product/MoMoney.DTO/ApplicationVersion.cs
@@ -1,6 +1,6 @@
 using System;
 
-namespace MoMoney.Presentation.Model.updates
+namespace MoMoney.DTO
 {
     public class ApplicationVersion
     {
trunk/product/MoMoney.DTO/BillInformationDto.cs
@@ -1,11 +1,18 @@
 using System;
+using System.Runtime.Serialization;
 
-namespace MoMoney.Presentation.Presenters.billing.dto
+namespace MoMoney.DTO
 {
+    [DataContract]
     public class BillInformationDTO
     {
+        [DataMember]
         public string company_name { get; set; }
+
+        [DataMember]
         public string the_amount_owed { get; set; }
+
+        [DataMember]
         public DateTime due_date { get; set; }
     }
 }
\ No newline at end of file
trunk/product/MoMoney.DTO/CompanyDTO.cs
@@ -1,10 +1,15 @@
 using System;
+using System.Runtime.Serialization;
 
 namespace MoMoney.DTO
 {
+    [DataContract]
     public class CompanyDTO
     {
+        [DataMember]
         public Guid id { get; set; }
+
+        [DataMember]
         public string name { get; set; }
     }
 }
\ No newline at end of file
trunk/product/MoMoney.DTO/IncomeInformationDTO.cs
@@ -1,9 +1,17 @@
-namespace MoMoney.Presentation.Presenters.income.dto
+using System.Runtime.Serialization;
+
+namespace MoMoney.DTO
 {
+    [DataContract]
     public class IncomeInformationDTO
     {
+        [DataMember]
         public string company { get; set; }
+
+        [DataMember]
         public string amount { get; set; }
+
+        [DataMember]
         public string recieved_date { get; set; }
     }
 }
\ No newline at end of file
trunk/product/MoMoney.DTO/IncomeSubmissionDto.cs
@@ -1,11 +1,18 @@
 using System;
+using System.Runtime.Serialization;
 
 namespace MoMoney.DTO
 {
+    [DataContract]
     public class IncomeSubmissionDto
     {
-        public Guid company_id;
+        [DataMember]
+        public Guid company_id { get; set; }
+
+        [DataMember]
         public double amount { get; set; }
+
+        [DataMember]
         public DateTime recieved_date { get; set; }
     }
 }
\ No newline at end of file
trunk/product/MoMoney.DTO/MoMoney.DTO.csproj
@@ -35,6 +35,9 @@
     <Reference Include="System.Core">
       <RequiredTargetFramework>3.5</RequiredTargetFramework>
     </Reference>
+    <Reference Include="System.Runtime.Serialization">
+      <RequiredTargetFramework>3.0</RequiredTargetFramework>
+    </Reference>
     <Reference Include="System.Xml.Linq">
       <RequiredTargetFramework>3.5</RequiredTargetFramework>
     </Reference>
@@ -51,7 +54,7 @@
     <Compile Include="CompanyDTO.cs" />
     <Compile Include="IncomeSubmissionDto.cs" />
     <Compile Include="IncomeInformationDTO.cs" />
-    <Compile Include="monthly_summary_dto.cs" />
+    <Compile Include="MonthlySummaryDTO.cs" />
     <Compile Include="RegisterNewCompany.cs" />
   </ItemGroup>
   <ItemGroup>
trunk/product/MoMoney.DTO/monthly_summary_dto.cs
@@ -1,10 +0,0 @@
-namespace MoMoney.Presentation.Presenters.income.dto
-{
-    public class monthly_summary_dto
-    {
-        public string month { get; set; }
-        public double income { get; set; }
-        public double expenses { get; set; }
-        public double summary { get; set; }
-    }
-}
\ No newline at end of file
trunk/product/MoMoney.DTO/MonthlySummaryDTO.cs
@@ -0,0 +1,20 @@
+using System.Runtime.Serialization;
+
+namespace MoMoney.DTO
+{
+    [DataContract]
+    public class MonthlySummaryDTO
+    {
+        [DataMember]
+        public string month { get; set; }
+
+        [DataMember]
+        public double income { get; set; }
+
+        [DataMember]
+        public double expenses { get; set; }
+
+        [DataMember]
+        public double summary { get; set; }
+    }
+}
\ No newline at end of file
trunk/product/MoMoney.DTO/RegisterNewCompany.cs
@@ -1,7 +1,11 @@
+using System.Runtime.Serialization;
+
 namespace MoMoney.DTO
 {
+    [DataContract]
     public class RegisterNewCompany
     {
+        [DataMember]
         public string company_name { get; set; }
     }
 }
\ No newline at end of file
trunk/product/MoMoney.Presentation/Presenters/Billing/AddBillPaymentPresenter.cs
@@ -2,10 +2,8 @@ using System.Collections.Generic;
 using Gorilla.Commons.Infrastructure;
 using MoMoney.DTO;
 using MoMoney.Presentation.Core;
-using MoMoney.Presentation.Presenters.billing.dto;
 using MoMoney.Presentation.Views.billing;
 using MoMoney.Service.Application;
-using MoMoney.Tasks.application;
 
 namespace MoMoney.Presentation.Presenters.billing
 {
trunk/product/MoMoney.Presentation/Presenters/Billing/ViewAllBillsPresenter.cs
@@ -1,9 +1,9 @@
 using System.Collections.Generic;
 using Gorilla.Commons.Infrastructure;
+using MoMoney.DTO;
 using MoMoney.Presentation.Core;
-using MoMoney.Presentation.Presenters.billing.dto;
 using MoMoney.Presentation.Views.billing;
-using MoMoney.Tasks.application;
+using MoMoney.Service.Application;
 
 namespace MoMoney.Presentation.Presenters.billing
 {
trunk/product/MoMoney.Presentation/Presenters/Income/AddNewIncomePresenter.cs
@@ -2,10 +2,8 @@ using System.Collections.Generic;
 using Gorilla.Commons.Infrastructure;
 using MoMoney.DTO;
 using MoMoney.Presentation.Core;
-using MoMoney.Presentation.Presenters.income.dto;
 using MoMoney.Presentation.Views.income;
 using MoMoney.Service.Application;
-using MoMoney.Tasks.application;
 
 namespace MoMoney.Presentation.Presenters.income
 {
trunk/product/MoMoney.Presentation/Presenters/Income/AddNewIncomePresenterSpecs.cs
@@ -3,10 +3,8 @@ using developwithpassion.bdd.contexts;
 using Gorilla.Commons.Infrastructure;
 using Gorilla.Commons.Testing;
 using MoMoney.DTO;
-using MoMoney.Presentation.Presenters.income.dto;
 using MoMoney.Presentation.Views.income;
 using MoMoney.Service.Application;
-using MoMoney.Tasks.application;
 
 namespace MoMoney.Presentation.Presenters.income
 {
trunk/product/MoMoney.Presentation/Presenters/Income/ViewIncomeHistoryPresenter.cs
@@ -1,7 +1,7 @@
 using System.Collections.Generic;
 using Gorilla.Commons.Infrastructure;
+using MoMoney.DTO;
 using MoMoney.Presentation.Core;
-using MoMoney.Presentation.Presenters.income.dto;
 using MoMoney.Presentation.Views.income;
 using MoMoney.Service.Application;
 
trunk/product/MoMoney.Presentation/Presenters/Reporting/ReportPresenter.cs
@@ -1,7 +1,7 @@
 using MoMoney.Presentation.Core;
 using MoMoney.Presentation.Views.billing;
 using MoMoney.Presentation.Views.reporting;
-using MoMoney.Tasks.application;
+using MoMoney.Service.Application;
 
 namespace MoMoney.Presentation.Presenters.reporting
 {
trunk/product/MoMoney.Presentation/Presenters/Updates/CheckForUpdatesPresenter.cs
@@ -2,8 +2,8 @@ using Gorilla.Commons.Infrastructure;
 using Gorilla.Commons.Infrastructure.Logging;
 using Gorilla.Commons.Utility;
 using Gorilla.Commons.Utility.Core;
+using MoMoney.DTO;
 using MoMoney.Presentation.Core;
-using MoMoney.Presentation.Model.updates;
 using MoMoney.Presentation.Presenters.Commands;
 using MoMoney.Presentation.Views.updates;
 using MoMoney.Service.Infrastructure.Updating;
trunk/product/MoMoney.Presentation/Presenters/Updates/CheckForUpdatesPresenterSpecs.cs
@@ -3,7 +3,7 @@ using Gorilla.Commons.Infrastructure;
 using Gorilla.Commons.Testing;
 using Gorilla.Commons.Utility;
 using Gorilla.Commons.Utility.Core;
-using MoMoney.Presentation.Model.updates;
+using MoMoney.DTO;
 using MoMoney.Presentation.Presenters.Commands;
 using MoMoney.Presentation.Views.updates;
 using MoMoney.Service.Infrastructure.Updating;
trunk/product/MoMoney.Presentation/Presenters/AddCompanyPresenter.cs
@@ -4,7 +4,6 @@ using MoMoney.DTO;
 using MoMoney.Presentation.Core;
 using MoMoney.Presentation.Views;
 using MoMoney.Service.Application;
-using MoMoney.Tasks.application;
 
 namespace MoMoney.Presentation.Presenters
 {
trunk/product/MoMoney.Presentation/Views/Billing/AddBillPaymentView.cs
@@ -6,7 +6,6 @@ using Gorilla.Commons.Windows.Forms.Helpers;
 using Gorilla.Commons.Windows.Forms.Krypton;
 using MoMoney.DTO;
 using MoMoney.Presentation.Presenters.billing;
-using MoMoney.Presentation.Presenters.billing.dto;
 using MoMoney.Presentation.Views.core;
 
 namespace MoMoney.Presentation.Views.billing
trunk/product/MoMoney.Presentation/Views/Billing/IAddBillPaymentView.cs
@@ -2,7 +2,6 @@ using System.Collections.Generic;
 using Gorilla.Commons.Utility.Core;
 using MoMoney.DTO;
 using MoMoney.Presentation.Presenters.billing;
-using MoMoney.Presentation.Presenters.billing.dto;
 using MoMoney.Presentation.Views.Core;
 
 namespace MoMoney.Presentation.Views.billing
trunk/product/MoMoney.Presentation/Views/Billing/IViewAllBills.cs
@@ -1,7 +1,7 @@
 using System.Collections.Generic;
 using Gorilla.Commons.Utility.Core;
+using MoMoney.DTO;
 using MoMoney.Presentation.Presenters.billing;
-using MoMoney.Presentation.Presenters.billing.dto;
 using MoMoney.Presentation.Views.Core;
 
 namespace MoMoney.Presentation.Views.billing
trunk/product/MoMoney.Presentation/Views/Billing/ViewAllBills.cs
@@ -1,7 +1,7 @@
 using System.Collections.Generic;
 using System.Linq;
+using MoMoney.DTO;
 using MoMoney.Presentation.Presenters.billing;
-using MoMoney.Presentation.Presenters.billing.dto;
 using MoMoney.Presentation.Views.core;
 
 namespace MoMoney.Presentation.Views.billing
trunk/product/MoMoney.Presentation/Views/Billing/ViewAllBillsReport.cs
@@ -2,8 +2,8 @@ using System;
 using System.Collections.Generic;
 using DataDynamics.ActiveReports;
 using Gorilla.Commons.Utility.Extensions;
+using MoMoney.DTO;
 using MoMoney.Presentation.Model.reporting;
-using MoMoney.Presentation.Presenters.billing.dto;
 
 namespace MoMoney.Presentation.Views.billing
 {
trunk/product/MoMoney.Presentation/Views/Income/AddNewIncomeView.cs
@@ -7,7 +7,6 @@ using Gorilla.Commons.Windows.Forms.Helpers;
 using Gorilla.Commons.Windows.Forms.Krypton;
 using MoMoney.DTO;
 using MoMoney.Presentation.Presenters.income;
-using MoMoney.Presentation.Presenters.income.dto;
 using MoMoney.Presentation.Views.core;
 
 namespace MoMoney.Presentation.Views.income
trunk/product/MoMoney.Presentation/Views/Income/IAddNewIncomeView.cs
@@ -2,7 +2,6 @@ using System.Collections.Generic;
 using Gorilla.Commons.Utility.Core;
 using MoMoney.DTO;
 using MoMoney.Presentation.Presenters.income;
-using MoMoney.Presentation.Presenters.income.dto;
 using MoMoney.Presentation.Views.Core;
 
 namespace MoMoney.Presentation.Views.income
trunk/product/MoMoney.Presentation/Views/Income/IViewIncomeHistory.cs
@@ -1,7 +1,7 @@
 using System.Collections.Generic;
 using Gorilla.Commons.Utility.Core;
+using MoMoney.DTO;
 using MoMoney.Presentation.Presenters.income;
-using MoMoney.Presentation.Presenters.income.dto;
 using MoMoney.Presentation.Views.Core;
 
 namespace MoMoney.Presentation.Views.income
trunk/product/MoMoney.Presentation/Views/Income/ViewAllIncome.cs
@@ -1,7 +1,7 @@
 using System.Collections.Generic;
 using Gorilla.Commons.Utility.Extensions;
+using MoMoney.DTO;
 using MoMoney.Presentation.Presenters.income;
-using MoMoney.Presentation.Presenters.income.dto;
 using MoMoney.Presentation.Views.core;
 
 namespace MoMoney.Presentation.Views.income
trunk/product/MoMoney.Presentation/Views/Updates/CheckForUpdatesView.cs
@@ -1,9 +1,9 @@
-using System;
+using System;
 using System.Reflection;
 using System.Windows.Forms;
 using Gorilla.Commons.Utility;
 using Gorilla.Commons.Windows.Forms;
-using MoMoney.Presentation.Model.updates;
+using MoMoney.DTO;
 using MoMoney.Presentation.Presenters.updates;
 using MoMoney.Presentation.Resources;
 using MoMoney.Presentation.Views.core;
trunk/product/MoMoney.Presentation/Views/Updates/ICheckForUpdatesView.cs
@@ -1,6 +1,6 @@
 using Gorilla.Commons.Utility;
 using Gorilla.Commons.Utility.Core;
-using MoMoney.Presentation.Model.updates;
+using MoMoney.DTO;
 using MoMoney.Presentation.Presenters.updates;
 using MoMoney.Presentation.Views.Core;
 
trunk/product/MoMoney.Service/Application/AddNewIncomeCommand.cs
@@ -1,5 +1,4 @@
 using System.Linq;
-using Gorilla.Commons.Utility.Core;
 using Gorilla.Commons.Utility.Extensions;
 using MoMoney.Domain.Core;
 using MoMoney.Domain.repositories;
@@ -7,10 +6,6 @@ using MoMoney.DTO;
 
 namespace MoMoney.Service.Application
 {
-    public interface IAddNewIncomeCommand : IParameterizedCommand<IncomeSubmissionDto>
-    {
-    }
-
     public class AddNewIncomeCommand : IAddNewIncomeCommand
     {
         readonly ICustomerTasks tasks;
trunk/product/MoMoney.Service/Application/GetAllBillsQuery.cs
@@ -1,16 +1,11 @@
 using System.Collections.Generic;
-using Gorilla.Commons.Utility.Core;
 using Gorilla.Commons.Utility.Extensions;
 using MoMoney.Domain.accounting.billing;
 using MoMoney.Domain.repositories;
-using MoMoney.Presentation.Presenters.billing.dto;
+using MoMoney.DTO;
 
-namespace MoMoney.Tasks.application
+namespace MoMoney.Service.Application
 {
-    public interface IGetAllBillsQuery : IQuery<IEnumerable<BillInformationDTO>>
-    {
-    }
-
     public class GetAllBillsQuery : IGetAllBillsQuery
     {
         readonly IBillRepository bills;
trunk/product/MoMoney.Service/Application/GetAllCompanysQuery.cs
@@ -1,15 +1,10 @@
 using System.Collections.Generic;
-using Gorilla.Commons.Utility.Core;
 using Gorilla.Commons.Utility.Extensions;
 using MoMoney.Domain.repositories;
 using MoMoney.DTO;
 
-namespace MoMoney.Tasks.application
+namespace MoMoney.Service.Application
 {
-    public interface IGetAllCompanysQuery : IQuery<IEnumerable<CompanyDTO>>
-    {
-    }
-
     public class GetAllCompanysQuery : IGetAllCompanysQuery
     {
         readonly ICompanyRepository companys;
trunk/product/MoMoney.Service/Application/GetAllIncomeQuery.cs
@@ -1,16 +1,11 @@
 using System.Collections.Generic;
-using Gorilla.Commons.Utility.Core;
 using Gorilla.Commons.Utility.Extensions;
 using MoMoney.Domain.Accounting.Growth;
 using MoMoney.Domain.repositories;
-using MoMoney.Presentation.Presenters.income.dto;
+using MoMoney.DTO;
 
 namespace MoMoney.Service.Application
 {
-    public interface IGetAllIncomeQuery : IQuery<IEnumerable<IncomeInformationDTO>>
-    {
-    }
-
     public class GetAllIncomeQuery : IGetAllIncomeQuery
     {
         readonly IIncomeRepository all_income;
trunk/product/MoMoney.Service/Application/IAddNewIncomeCommand.cs
@@ -0,0 +1,11 @@
+using System.ServiceModel;
+using Gorilla.Commons.Utility.Core;
+using MoMoney.DTO;
+
+namespace MoMoney.Service.Application
+{
+    [ServiceContract]
+    public interface IAddNewIncomeCommand : IParameterizedCommand<IncomeSubmissionDto>
+    {
+    }
+}
\ No newline at end of file
trunk/product/MoMoney.Service/Application/IGetAllBillsQuery.cs
@@ -0,0 +1,12 @@
+using System.Collections.Generic;
+using System.ServiceModel;
+using Gorilla.Commons.Utility.Core;
+using MoMoney.DTO;
+
+namespace MoMoney.Service.Application
+{
+    [ServiceContract]
+    public interface IGetAllBillsQuery : IQuery<IEnumerable<BillInformationDTO>>
+    {
+    }
+}
\ No newline at end of file
trunk/product/MoMoney.Service/Application/IGetAllCompanysQuery.cs
@@ -0,0 +1,12 @@
+using System.Collections.Generic;
+using System.ServiceModel;
+using Gorilla.Commons.Utility.Core;
+using MoMoney.DTO;
+
+namespace MoMoney.Service.Application
+{
+    [ServiceContract]
+    public interface IGetAllCompanysQuery : IQuery<IEnumerable<CompanyDTO>>
+    {
+    }
+}
\ No newline at end of file
trunk/product/MoMoney.Service/Application/IGetAllIncomeQuery.cs
@@ -0,0 +1,12 @@
+using System.Collections.Generic;
+using System.ServiceModel;
+using Gorilla.Commons.Utility.Core;
+using MoMoney.DTO;
+
+namespace MoMoney.Service.Application
+{
+    [ServiceContract]
+    public interface IGetAllIncomeQuery : IQuery<IEnumerable<IncomeInformationDTO>>
+    {
+    }
+}
\ No newline at end of file
trunk/product/MoMoney.Service/Application/IRegisterNewCompanyCommand.cs
@@ -0,0 +1,11 @@
+using System.ServiceModel;
+using Gorilla.Commons.Utility.Core;
+using MoMoney.DTO;
+
+namespace MoMoney.Service.Application
+{
+    [ServiceContract]
+    public interface IRegisterNewCompanyCommand : IParameterizedCommand<RegisterNewCompany>
+    {
+    }
+}
\ No newline at end of file
trunk/product/MoMoney.Service/Application/ISaveNewBillCommand.cs
@@ -0,0 +1,11 @@
+using System.ServiceModel;
+using Gorilla.Commons.Utility.Core;
+using MoMoney.DTO;
+
+namespace MoMoney.Service.Application
+{
+    [ServiceContract]
+    public interface ISaveNewBillCommand : IParameterizedCommand<AddNewBillDTO>
+    {
+    }
+}
\ No newline at end of file
trunk/product/MoMoney.Service/Application/NotificationMessage.cs
@@ -1,34 +1,33 @@
+using System.Runtime.Serialization;
+
 namespace MoMoney.Service.Application
 {
+    [DataContract]
     public class NotificationMessage
     {
-        private readonly string the_message_to_display;
-
-        public NotificationMessage(string the_message_to_display)
-        {
-            this.the_message_to_display = the_message_to_display;
-        }
+        [DataMember]
+        public string message { get; set; }
 
-        public static implicit operator string(NotificationMessage message)
+        static public implicit operator string(NotificationMessage message)
         {
             return message.ToString();
         }
 
-        public static implicit operator NotificationMessage(string message)
+        static public implicit operator NotificationMessage(string message)
         {
-            return new NotificationMessage(message);
+            return new NotificationMessage {message = message};
         }
 
         public override string ToString()
         {
-            return the_message_to_display;
+            return message;
         }
 
         public bool Equals(NotificationMessage obj)
         {
             if (ReferenceEquals(null, obj)) return false;
             if (ReferenceEquals(this, obj)) return true;
-            return Equals(obj.the_message_to_display, the_message_to_display);
+            return Equals(obj.message, message);
         }
 
         public override bool Equals(object obj)
@@ -41,7 +40,7 @@ namespace MoMoney.Service.Application
 
         public override int GetHashCode()
         {
-            return (the_message_to_display != null ? the_message_to_display.GetHashCode() : 0);
+            return (message != null ? message.GetHashCode() : 0);
         }
     }
 }
\ No newline at end of file
trunk/product/MoMoney.Service/Application/RegisterNewCompanyCommand.cs
@@ -1,5 +1,4 @@
 using System.Linq;
-using Gorilla.Commons.Utility.Core;
 using Gorilla.Commons.Utility.Extensions;
 using MoMoney.Domain.accounting.billing;
 using MoMoney.Domain.repositories;
@@ -7,10 +6,6 @@ using MoMoney.DTO;
 
 namespace MoMoney.Service.Application
 {
-    public interface IRegisterNewCompanyCommand : IParameterizedCommand<RegisterNewCompany>
-    {
-    }
-
     public class RegisterNewCompanyCommand : IRegisterNewCompanyCommand
     {
         readonly ICompanyFactory factory;
trunk/product/MoMoney.Service/Application/SaveNewBillCommand.cs
@@ -1,14 +1,9 @@
-using Gorilla.Commons.Utility.Core;
 using MoMoney.Domain.Core;
 using MoMoney.Domain.repositories;
 using MoMoney.DTO;
 
 namespace MoMoney.Service.Application
 {
-    public interface ISaveNewBillCommand : IParameterizedCommand<AddNewBillDTO>
-    {
-    }
-
     public class SaveNewBillCommand : ISaveNewBillCommand
     {
         readonly ICompanyRepository companys;
trunk/product/MoMoney.Service/Infrastructure/Updating/WhatIsTheAvailableVersion.cs
@@ -1,5 +1,5 @@
 using Gorilla.Commons.Utility.Core;
-using MoMoney.Presentation.Model.updates;
+using MoMoney.DTO;
 using MoMoney.Tasks.infrastructure.updating;
 
 namespace MoMoney.Service.Infrastructure.Updating
trunk/product/MoMoney.Service/MoMoney.Service.csproj
@@ -48,6 +48,12 @@
       <RequiredTargetFramework>3.5</RequiredTargetFramework>
     </Reference>
     <Reference Include="System.Deployment" />
+    <Reference Include="System.Runtime.Serialization">
+      <RequiredTargetFramework>3.0</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.ServiceModel">
+      <RequiredTargetFramework>3.0</RequiredTargetFramework>
+    </Reference>
     <Reference Include="System.Xml.Linq">
       <RequiredTargetFramework>3.5</RequiredTargetFramework>
     </Reference>
@@ -65,7 +71,13 @@
     <Compile Include="Application\GetAllBillsQuery.cs" />
     <Compile Include="Application\GetAllCompanysQuery.cs" />
     <Compile Include="Application\GetAllIncomeQuery.cs" />
+    <Compile Include="Application\IAddNewIncomeCommand.cs" />
+    <Compile Include="Application\IGetAllBillsQuery.cs" />
+    <Compile Include="Application\IGetAllCompanysQuery.cs" />
+    <Compile Include="Application\IGetAllIncomeQuery.cs" />
     <Compile Include="Application\INotification.cs" />
+    <Compile Include="Application\IRegisterNewCompanyCommand.cs" />
+    <Compile Include="Application\ISaveNewBillCommand.cs" />
     <Compile Include="Application\NotificationMessage.cs" />
     <Compile Include="Application\RegisterNewCompanyCommand.cs" />
     <Compile Include="Application\SaveNewBillCommand.cs" />
trunk/product/MyMoney/boot/container/registration/wire_up_the_services_in_to_the.cs
@@ -5,7 +5,6 @@ using Gorilla.Commons.Utility.Core;
 using MoMoney.Domain.accounting.billing;
 using MoMoney.Domain.repositories;
 using MoMoney.Service.Application;
-using MoMoney.Tasks.application;
 
 namespace MoMoney.boot.container.registration
 {