Hey im just wondering if or how i can split up my services

IService

namespace Phpwcfconsole
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface 
    name "IService1" in both code and config file together.
    [ServiceContract]
    public interface IService
    {
        [OperationContract]
        string KundNyKund(Variables.Kunder Kund);

        [OperationContract]
        Variables.StringArrays KundVisaKund(); 

    }

Service1

namespace Phpwcfconsole
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Service1" in both code and config file together.
    public class Service1 : IService
    {
        public string KundNyKund(Variables.Kunder Kund)
        {
            //dostuff
        }
        public Variables.StringArrays KundVisaKund() 
        {
            //dostuff
        }
    }

so can i splitt Service1 into two files .cs
so for example i can have cutsomers and orders logic seperate?

sorry for no reply, yes i looked it up and got it to work thank you for the tip :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.