1. DataUp
  2. Untitled project
  3. main


main / Source / WebClient / Web.BizLogic / Services / Interfaces / IExcelService.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataUp.Web.DataLayer;
using DocumentFormat.OpenXml.Packaging;

namespace DataUp.Web.BizLogic
    public interface IExcelService
        IEnumerable<ErrorDetails> Validate(int documentId, int userId);
        //To check errors found in CSV file
        IEnumerable<ErrorDetails> ValidateCsv(int documentId, int userId);

        //use to fix all the errors
        void RemoveAll(int documentId, int userId);

        //use to fix selected error type
        void RemoveSelected(int documentId, int userId,ErrorDetails detail);