public void DeleteType(int id)
        {
            var delete = new Repository.Type();

            delete.DeleteType(id);
        }
        public List <DataContract.Contract.Type> GetType(DataContract.Filters.Type filter)
        {
            var get = new Repository.Type();

            return(get.GetType(filter));
        }
        public void UpdateType(DataContract.Contract.Type contact)
        {
            var repo = new Repository.Type();

            repo.UpdateType(contact);
        }
        public DataContract.Contract.Type GetTypeid(int id)
        {
            var getId = new Repository.Type();

            return(getId.GetTypeid(id));
        }