I want to design an interface has the function to do mapping from Entity object to Form object
public interface IFormToEntityMapper { TEntity Map(TForm tForm); }
and vice versa.
public interface IEntityToFormMapper { TForm Map(TEntity tEntity); }
I have the question if I should define these two functions in one interface and separate them to different interfaces. If I put them into one interface, does that violate the single responsibility principle?