UpdateService interface is declared with generic types T,K: public interface UpdateService<T, K> but K type is not used.
Should it be removed or it is it is useful to keep a relation with CreationService<T, K> whos method save returns the K id type, for example? Or with other interfaces that extend UpdateService?
I stumbled upon this doubt because DeletionService<T> delete method returns void as the update method, but is declared only with <T>.
UpdateService interface is declared with generic types T,K:
public interface UpdateService<T, K>but K type is not used.Should it be removed or it is it is useful to keep a relation with
CreationService<T, K>whos method save returns theKid type, for example? Or with other interfaces that extendUpdateService?I stumbled upon this doubt because
DeletionService<T>delete method returns void as the update method, but is declared only with<T>.