LFlow/LFlow.User/Services/UserService.cs

33 lines
755 B
C#

using System;
using LFlow.Base.Interfaces;
using LFlow.Base.Interfaces.BusinessInterface;
using LFlow.Base.Utils;
using LFlow.User.Model.DataModel;
using LFlow.User.Model.Dto;
namespace LFlow.User.Services;
public class UserService(IRepo<UserModel, string> repo) : IUserService<UserDto>
{
public UserDto DeleteById(string id)
{
throw new NotImplementedException();
}
public UserDto GetById(string id)
{
var user = repo.Get(id);
return Mapper.Map<UserDto>(user);
}
public UserDto Save(UserDto entity)
{
throw new NotImplementedException();
}
public List<UserDto> Search(UserDto whereObj)
{
throw new NotImplementedException();
}
}