INoticeService.cs 467 Bytes
Newer Older
1
using System.Threading.Tasks;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

namespace Coscine.Api.Notices.Services
{
    /// <summary>
    /// This interface defines the functions for the NoticeService
    /// </summary>
    public interface INoticeService
    {
        /// <summary>
        /// This method returns a notice
        /// </summary>
        /// <param name="url">Url to retrieve the notice from</param>
        /// <returns>Notice</returns>
        Task<string> GetNotice(string url);
    }
}